'use strict';

module.exports = app => {
  const mongoose = app.mongoose;
  const MemberSchema = new mongoose.Schema({
    userId: { type: String },
    userNickName: { type: String },
    userFace: { type: String },
    userPower: { type: String },
    vipLevel: { type: Number },
  });
  return mongoose.model('Member', MemberSchema);
};
